package flexcloud.events
{

import flash.events.Event;

public class TagEvent extends Event
{
	
	//--------------------------------------------------------------------------
	//
	//  Constructor
	//
	//--------------------------------------------------------------------------
	
	public function TagEvent(type:String, data:Object, bubbles:Boolean=false,
		cancelable:Boolean=false)
	{
		super(type, bubbles, cancelable);
		
		_data = data;
	}
	
	//--------------------------------------------------------------------------
	//
	//  Constants
	//
	//--------------------------------------------------------------------------
	
	public static const TAG_CLICK:String = "tagClick";
	public static const TAG_ROLL_OUT:String = "tagRollOut";
	public static const TAG_ROLL_OVER:String = "tagRollOver";
	
	//--------------------------------------------------------------------------
	//
	//  Properties
	//
	//--------------------------------------------------------------------------
	
    //----------------------------------
    //  data (read-only)
    //----------------------------------
	
	private var _data:Object;
	
	public function get data():Object {
		return _data;
	}
	
}

}